// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_hm_whitelist
// * CreateDate    : 2014-06-05 18:30:02
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:02
// * LastChanger   : 2014-06-05 18:30:02
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HmWhitelistTable : TableInfo
    {
		public const string C_TableName = "hm_whitelist";
		
		public const string C_whiteid = "whiteid";
		public const string C_whiteloweripaddress1 = "whiteloweripaddress1";
		public const string C_whiteloweripaddress2 = "whiteloweripaddress2";
		public const string C_whiteupperipaddress1 = "whiteupperipaddress1";
		public const string C_whiteupperipaddress2 = "whiteupperipaddress2";
		public const string C_whiteemailaddress = "whiteemailaddress";
		public const string C_whitedescription = "whitedescription";
		
		public HmWhitelistTable()
        {
            _tableName = "hm_whitelist";
        }
		
		protected static HmWhitelistTable _current;
        public static HmWhitelistTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HmWhitelistTable();

            _current.Add(C_whiteid, new ColumnInfo(C_whiteid,"Whiteid", true, typeof(long)));
            _current.Add(C_whiteloweripaddress1, new ColumnInfo(C_whiteloweripaddress1,"Whiteloweripaddress1", false, typeof(long)));
            _current.Add(C_whiteloweripaddress2, new ColumnInfo(C_whiteloweripaddress2,"Whiteloweripaddress2", false, typeof(long)));
            _current.Add(C_whiteupperipaddress1, new ColumnInfo(C_whiteupperipaddress1,"Whiteupperipaddress1", false, typeof(long)));
            _current.Add(C_whiteupperipaddress2, new ColumnInfo(C_whiteupperipaddress2,"Whiteupperipaddress2", false, typeof(long)));
            _current.Add(C_whiteemailaddress, new ColumnInfo(C_whiteemailaddress,"Whiteemailaddress", false, typeof(string)));
            _current.Add(C_whitedescription, new ColumnInfo(C_whitedescription,"Whitedescription", false, typeof(string)));
			
		}
		
		public ColumnInfo whiteid
        {
            get { return this[C_whiteid]; }
        }
		
		public ColumnInfo whiteloweripaddress1
        {
            get { return this[C_whiteloweripaddress1]; }
        }
		
		public ColumnInfo whiteloweripaddress2
        {
            get { return this[C_whiteloweripaddress2]; }
        }
		
		public ColumnInfo whiteupperipaddress1
        {
            get { return this[C_whiteupperipaddress1]; }
        }
		
		public ColumnInfo whiteupperipaddress2
        {
            get { return this[C_whiteupperipaddress2]; }
        }
		
		public ColumnInfo whiteemailaddress
        {
            get { return this[C_whiteemailaddress]; }
        }
		
		public ColumnInfo whitedescription
        {
            get { return this[C_whitedescription]; }
        }
		
		
		
	}
}

